package com.example.admin.controller;

import com.example.admin.service.WmNewsService;
import com.usian.model.common.dtos.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class WmNewController {
    @Autowired
    private  WmNewsService wmNewsService;
    @GetMapping("wmnews/v1/wmnews_checked")
    public ResponseResult wmNewsChecked(@RequestParam Integer id){
        return wmNewsService.wmNewsChecked(id);
    }
}
